/*
 * @Author: Hanky-D 946941094@qq.com
 * @Date: 2022-06-08 22:14:05
 * @LastEditors: Hanky-D 946941094@qq.com
 * @LastEditTime: 2022-06-10 00:08:28
 * @FilePath: \mall-merchant-front\src\main.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import '@/assets/css/normal.css'

import Vue from 'vue'
import App from './App.vue'

//引入vue-router和自定义的router文件
import VueRouter from 'vue-router'
import router from './router';
Vue.use(VueRouter)

// 引入elementui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);


// 引入axios并挂载到vue实例上
import axios from 'axios';
axios.defaults.baseURL = 'http://localhost:8081/api'
Vue.prototype.$axios = axios;

Vue.config.productionTip = false

//引入store
import store from './store'

new Vue({
	router,
	store,
	render: h => h(App),
}).$mount('#app')
